﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model.FromBody
{
    /// <summary>
    /// 交班记录表信息
    /// </summary>
    public class PosDutyModel
    {
        /// <summary>
        /// 班次id
        /// </summary>
        public long duty_id { get; set; }

        /// <summary>
        /// 交班单号
        /// </summary>
        public string bill_no { get; set; }

        /// <summary>
        /// 商户
        /// </summary>
        public string tenant_id { get; set; }

        /// <summary>
        /// 门店
        /// </summary>
        public string branch_id { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public string device_id { get; set; }

        /// <summary>
        /// 班次号
        /// </summary>
        public string duty_code { get; set; }

        /// <summary>
        /// 班次名称
        /// </summary>
        public string duty_name { get; set; }

        /// <summary>
        /// 收银用户
        /// </summary>
        public string pos_user_id { get; set; }


        /// <summary>
        /// 营业日
        /// </summary>
        public string duty_date { get; set; }


        /// <summary>
        /// 班次开始日期
        /// </summary>
        public string duty_begin_time { get; set; }

        /// <summary>
        /// 班次结束日期
        /// </summary>
        public string duty_end_time { get; set; }

        /// <summary>
        /// 收银员
        /// </summary>
        public string username { get; set; }

        /// <summary>
        /// 钱箱金额
        /// </summary>
        public string box_amount { get; set; }

        /// <summary>
        /// 状态 0 有效 1 交班
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string create_by { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string create_time { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string update_by { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public string update_time { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
    }


    public class PosDutyRechargeModel
    {
        /// <summary>
        /// id
        /// </summary>
        public string pos_duty_recharge_id { get; set; }

        /// <summary>
        /// 交班id
        /// </summary>
        public string pos_duty_id { get; set; }

        /// <summary>
        /// 充值方式id
        /// </summary>
        public string balance_type_id { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public string amount_balance { get; set; }

        /// <summary>
        /// 充值笔数
        /// </summary>
        public int recharge_num { get; set; }

        /// <summary>
        /// 支付方式详细
        /// </summary>
        public string authcodeType { get; set; }
    }


    public class PosDutySaleModel
    {
        /// <summary>
        /// id
        /// </summary>
        public string pos_duty_sale_id { get; set; }

        /// <summary>
        /// 交班id
        /// </summary>
        public string pos_duty_id { get; set; }

        /// <summary>
        /// 充值方式id
        /// </summary>
        public string balance_type_id { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public string amount_balance { get; set; }

        /// <summary>
        /// 充值笔数
        /// </summary>
        public int sale_num { get; set; }

        /// <summary>
        /// 支付方式详细
        /// </summary>
        public string authcodeType { get; set; }
    }
}
